package org.resort.dao;

import org.apache.ibatis.annotations.Param;
import org.resort.entity.RoomOrder;

import java.util.Date;
import java.util.List;

/**
 * @Author 郭文虎
 */
public interface RoomOrderDao extends CommonDao<RoomOrder> {
    /**
     * 根据状态查询房间订单
     *
     * @param stateName 状态名称
     * @return 满足条件的房间订单集合
     */
    List<RoomOrder> getRoomOrderByState(@Param("stateName") String stateName);
}
